function selectGoodInfos(){
	    	var goodType = $("#goodTypes").val();   
	            $.ajax({  
	                type: "POST",  
	                dataType : 'json',
	                url:"http://localhost:8080/Flower/user/getGoodInfosByType",    
	                data: {"goodType":goodType},               
	                async: true,  
	                success: function(data){  
	                	$("#goodInfo").children('li').remove();
	                	$(".page").children('span').remove();
	                    var selectGoodInfo= $("#goodInfo");
	                    var selectPage= $(".page");
	                    $.each(data.goodInfosList.datalist,function(index,item){                
		                    selectGoodInfo.append("<li><div class='pic'><a href='gooddetail?goodId="+item.goodId+"'><img src='../resources/upload/good/"+item.goodImage +"' class='vcenter'/></a></div>"+
	        				"<p>"+item.goodName +"<em>¥</em> <span>"+item.goodPrice+"</span>/束</p></li>");
	                    })	                    
	                    selectPage.append("<span><a href='javascript:;'>首页</a></span>"+
							    "<span><a href='javascript:;' id='showsyy' onclick='showsyy()' >上一页</a></span>"+
								"<span><a href='javascript:;' id='showdemo' onclick='showdemo()'>下一页</a></span> "+
							    "<span id='currtotal'><a>第"+data.goodInfosList.currPage+"页/共"+data.goodInfosList.totalPage+"页</a></span>"+
							    "<span id='totalpage'><a href='javascript:;' onclick='showzmy()'>末页</a><input type='hidden' id='currPage' value='"+data.goodInfosList.currPage+"'/><input type='hidden' id='totalPage' value='"+data.goodInfosList.totalPage+"'/></span>");
			            },   
	                error:function(XMLHttpRequest, textStatus, errorThrown){  
	                    alert(XMLHttpRequest.status);  
	                }  
	                  
	            });     	
	    }
